from scrapy import cmdline

spider = "scrapy crawl weiyi".split()
cmdline.execute(spider)